package com.iespring.bean.app.address.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author weigwen
 * @Description:
 * @Date 2022/12/31 18:14
 */

@Data
public class AddressVo {

    private Integer id;//not null
    private String name;//not null
    private Integer userId;//not null
    private String province;//not null
    private String city;//not null
    private String county;//not null
    private String addressDetail;//not null
    private String areaCode;
    private String tel;//not null
    private Boolean isDefault;//not null

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp addTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp updateTime;

    private boolean deleted;

}
